package com.example.week08.configuration;

import com.example.week08.util.SnowFlake;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class BeanConfig {

    @Bean
    public SnowFlake snowFlake(){
        return new SnowFlake(2,2);
    }
}
